package com.youlu.campus.entity.card.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author : [dengbo]
 * @className : VipRedeeCodeFailRecord
 * @description : [vip 兑换码失败记录]
 * @createTime : [2022/12/29 17:50]
 */
@Data
@Document(collection = "vip_redeem_code_fail_record")
public class VipRedeemCodeFailRecord extends EntityBase {
    private String orderNo;
    @Indexed
    private String subOrderNo;
    /**
     * 虚拟商品id
     */
    private String virtualGoodsId;
    /**
     * 虚拟商品编码
     */
    @Indexed
    private String virtualGoodsCode;
    /**
     * 虚拟商品名称
     */
    private String virtualGoodsName;
    /**
     * 用户id
     */
    private String userId;
}
